#!/bin/bash

###################
# Usage: ./replace.sh  dirname  s_syscall  d_syscall
###################

for file in `find "$1" -name '*.[c,h]'`
do
        eval    grep "$2" "$file"
done
